package com.ruoyi.safe.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 复查--整改对象 biz_rectify_review
 *
 * @author ruoyi
 * @date 2023-11-22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BizRectifyReview extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 待办记录id
     */
    @Excel(name = "待办记录id")
    private Long recordId;

    /**
     * 操作状态
     */
    @Excel(name = "操作状态")
    private String operatorStatus;

    /**
     * 操作状态名称
     */
    private String operatorStatusName;

    /**
     * 操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatorTime;

    /**
     * 操作人
     */
    @Excel(name = "操作人")
    private String operatorer;

    /**
     * 操作人电话
     */
    @Excel(name = "操作人电话")
    private String operatorerPhone;

    /**
     * 操作说明
     */
    @Excel(name = "操作说明")
    private String operatorExplain;

    /**
     * 操作照片
     */
    @Excel(name = "操作照片")
    private String operatorPhoto;

    /**
     * 操作类型(1 复查，2 整改)
     */
    @Excel(name = "操作类型(1 复查，2 整改 3 移交)")
    private String operatorType;


    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 移交人
     */
    private String removeUserName;
    private String removeName;
    /**
     * 操作人nickName
     */
    private String operatorerName;

    private List<BizSafeAttach> attachList = new ArrayList<>();

    /*成因*/
    private String questionOrigin;
    /*附件*/
    private String uploadIds;
    /*发起移交人*/
    private String operatorerPhonenumber;
    /*移交人*/
    private String removeUserPhonenumber;

}
